package java基础知识.集合.set;

import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;
import java.util.TreeSet;

/**
 * @author coderFu
 * @create 2022/3/10
 *
 * Set源码阅读
 */
public class CoderSet {

    public static void main(String[] args) {

        Set<String> set = new HashSet<>();

        boolean a = set.add("a");
        set.stream();

        Set<String> set1 = new LinkedHashSet<>();

        set1.add("a");

        set1.add("b");

        Set<String> set2 = new TreeSet<>();



    }


}
